<div class="widget grid12">
    <div class="whead"><h6>INSERTAR NUEVO USUARIO </h6><div class="clear"></div></div>
    <?php echo $this->Form->create('User', array('id' => "validate")); ?>
        <div class="formRow">
    <div class="formRow">
        <div class="grid2"><label>Nombre:<span class="req">*</span></label></div>
        <div class="grid2">
          <?php echo $this->Form->text('nombre', array('placeholder' => 'Inserte su nombre','class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate'));?>
        </div>
        <div class="grid2"><label>Usuario:<span class="req">*</span></label></div>
        <div class="grid2">
            <?php echo $this->Form->text('username', array('placeholder' => 'Inserte Tipo Usuario Ej.Admin','class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?>
        </div>
         <div class="grid2"><label>Password:<span class="req">*</span></label></div>
        <div class="grid2">
            <?php echo $this->Form->text('password', array('placeholder' => 'Inserte su Password','class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?>
        </div>
        
        <div class="clear"></div>
    </div>
    <div class="formRow">
        <div class="grid2"><label>Carnet de Identidad:<span class="req">*</span></label></div>
        <div class="grid2">
          <?php echo $this->Form->text('ci', array('placeholder' => 'Inserte su C.I. Ej.666555000','class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate'));?>
        </div>
         <div class="grid2"><label>Correo Electronico:<span class="req">*</span></label></div>
        <div class="grid2">
            <?php echo $this->Form->text('correo', array('placeholder' => 'Inserte su Correo Electronico','class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?>
        </div>
        <div class="grid2"><label>Tipo de Usuario:<span class="req">*</span></label></div>
        <div class="grid2">
          <?php echo $this->Form->select('role',$usuario, array('placeholder' => 'Tipo de Usuario Ej.Adim','class'=>'validate[required] input-text', 'size'=>'0', 'id'=>'validate'));?>
        </div>
        <div class="clear"></div>
    </div>
    <div class="formRow">
         <div class="grid3"><label>Sucursal:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->select('sucursale_id',$dsucursal, array('class'=>'validate[required] input-text', 'size'=>'0', 'id'=>'validate')); ?>
        </div>
        <div class="clear"></div>
    </div>
                 
        </div>
</div>
<div class="actions-right">
<?php $options = array('label' => 'Registrar','class' => 'buttonS bGreen','id' => 'btEnvia');echo $this->Form->end($options);?> 
        <p></p>
        <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Tipotrabajos', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>


